Im
Instant messaging module
Types
Interface defining callbacks for handling events related to Instant Messaging (IM) within the SDK.
Properties
Functions
Add a bookmark in the conversation on a given message. There can be only one bookmark at a time in a conversation. If a new bookmark is created on a conversation that already has one, the new one replaces the previous one.
Create a new conversation with the given contact jid. The conversation is created at server side asynchronously.
Create a new conversation with the given room. The conversation is created at server side asynchronously.
Delete all messages from a conversation.
Delete a conversation from the active list of conversations.
Delete a conversation from the active list of conversations.
Get the conversation from a contact jid. If the conversation does not exist yet, a new one is created.
Get a conversation from its id.
Get a conversation from its jid.
Get the conversation from a room. If the conversation does not exist yet, a new one is created.
Get the conversation associated to the given contact if any
Retrieve the list of the 50 first messages of a given conversation.
Retrieve the list of the nbMessagesToRetrieve first messages of a given conversation.
Retrieve the list of the first messages until the bookmark of the conversation plus 10 messages before it.
Retrieve the list of the 50 next messages of a given conversation.
Retrieve the list of the nbMessagesToRetrieve next messages of a given conversation.
Retrieve the list of next messages of a given conversation until the message with @param messageId is retrieved.
Mark a message from a conversation as read.
Mark all messages from a conversation as read.
Mute or Unmute notifications for a conversation
Refresh the list of conversations
Register to the listener with following triggers: onImReceived, onImSent, isTypingState, onMessagesListUpdated, onMoreMessagesListUpdated
Remove any bookmark from the conversation.
Send all messages from a conversation to the user email.
Send all messages from a conversation to a list of emails.
Send or not the status isTyping
depending on the parameter.
Send a message to a given conversation with a file.
Send a message to a given conversation.
Send a message to a given conversation with a list of additional contents
Send a message to a given conversation with a single additional content
Send a message to a given conversation with files.
Unregister to the listener with following triggers: onImReceived, onImSent, isTypingState, onMessagesListUpdated, onMoreMessagesListUpdated